package com.ruoyi.biz.letter.util;

import com.ruoyi.common.constant.CacheConstants;

/**
 * @author Fei.Cong
 * @date 2024-07-23 14:37
 */
public class CacheUtil {

    public static String getCategoryKey(String configKey) {
        return CacheConstants.CATEGORY_ID_KEY + configKey;
    }

    public static String getDeptKey(String configKey) {
        return CacheConstants.DEPT_ID_KEY + configKey;
    }

    public static String getUserKey(String configKey) {
        return CacheConstants.USER_ID_KEY + configKey;
    }

    public static String getDeptChildKey(String configKey) {
        return CacheConstants.DEPT_ID_AND_CHILD_DEPT_ID_KEY + configKey;
    }

}
